//
//  SchoolCell.m
//  HotWord
//
//  Created by Rainbow on 8/28/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "SchoolCell.h"

@implementation SchoolCell
@synthesize schoolCnLabel;
@synthesize schoolEnLabel;
@synthesize schoolVocalLabel;

- (void)awakeFromNib
{
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSchool:(School *)school
{
    self.schoolCnLabel.text = school.schoolCn;
    self.schoolEnLabel.text = school.schoolState;
    self.schoolVocalLabel.text = school.schoolEn;
}


- (void)dealloc {
    [_school release];
    [schoolCnLabel release];
    [schoolEnLabel release];
    [schoolVocalLabel release];
    [super dealloc];
}
@end
